<template>
  <div>
    <van-nav-bar
      title="订单详情"
      left-text="返回"
      left-arrow
      @click-left="onClickLeft"
    />

    <p>暂无无相关订单信息哦~</p>
    <div class="footer">
      <van-button type="primary" size="large" color="#7654FF" to="/show">
        点我会首页逛逛吧</van-button
      >
    </div>
  </div>
</template>
<script>
export default {
    setup() {
    const onClickLeft = () => history.back();
    return {
      onClickLeft,
    };
  },
}
</script>
<style lang="scss" scoped>

div{
    height: 100%;
    p{
        font-size: 18px;
        font-weight: 600;
        margin-top: 20px;
        margin-left:10px;
    }
}
.footer{
    width: 100%;
    height: 3.125rem;
    position: fixed;
    bottom: 0;
    left: 0;
    display: flex;
    justify-content: center;
    background-color: #fff;
    z-index: 999;
}
</style>
<style>
.van-nav-bar__text{
    color: #7654FF;
    font-weight: 700;
}
.van-nav-bar__title{
font-size: 18px;
font-weight: 600;

}
</style>
